package com.hospital.ssm.mapper;

import com.hospital.ssm.model.Doctor;
import com.hospital.ssm.model.DoctorType;
import com.hospital.ssm.vo.DoctorQualAndType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorQualMapper {

    List<DoctorQualAndType> getAll(@Param("dtId") Integer dtId) throws Exception;

    int delete(@Param("id") Integer id) throws Exception;

    int insert(@Param("doctorType") DoctorType doctorType) throws Exception;

    int update(@Param("doctorType") DoctorType doctorType) throws Exception;

    int updatedtStatusu (@Param("id") Integer id) throws Exception;

    int updatedtStatusn (@Param("id") Integer id) throws Exception;



}
